<template>
	<!-- 	<el-select filterable remote reserve-keyword placeholder="请输入身份证后六位"
		:remote-method="handleSearchPeople" :loading="loading" style="width: 100%;" @change="handleSearch">
		<el-option v-for="item in peopleList" :key="item.sfhm" :label="item.xm" :value="item.sfhm">
			<span style="margin-right: 20px;">{{ item.sfhm }}</span>
			<span>{{ item.xm }}</span>
		</el-option>
	</el-select> -->
	<el-select v-model="viewModel" filterable remote reserve-keyword placeholder="请输入身份证后八位"
		:remote-method="handleSearchPeople" :loading="loading" style="width: 100%;" @change="handleSearch"
		@visible-change="visibleChange">
		<el-option v-for="item in peopleList" :key="item.sfhm" :label="item.xm" :value="item.sfhmEncode">
			<span style="margin-right: 20px;">{{ item.sfhm }}</span>
			<span>{{ item.xm }}</span>
		</el-option>
	</el-select>
</template>
